package cn.common.goods.model;

import cn.common.common.model.BaseParms;
import io.swagger.annotations.ApiModelProperty;

public class BaseGoods extends BaseParms {
    @ApiModelProperty(value = "商品ID")
    private Integer id;
    @ApiModelProperty(value = "商品名称")
    private String name;
    @ApiModelProperty(value = "商品所属类别ID")
    private Integer typeId;
    @ApiModelProperty(value = "商品当前状态")
    private String status;
    @ApiModelProperty(value = "商品编号")
    private String code;
    @ApiModelProperty(value = "商品价格")
    private Integer price;
    @ApiModelProperty(value = "商品热度级别")
    private Integer isHot;

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Integer getIsHot() {
        return isHot;
    }

    public void setIsHot(Integer isHot) {
        this.isHot = isHot;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }
}